package com.hellogood.yaohuo.shared.services;

import java.util.LinkedHashMap;
import java.util.List;

import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.hellogood.yaohuo.shared.entity.Cup;

@RemoteServiceRelativePath("CupService")
public interface CupService extends RemoteService{
	public static class Util{
		private static CupServiceAsync instance;
		
		public static CupServiceAsync getInstance(){
			if(instance==null){
				instance = GWT.create(CupService.class);
			}
			return instance;
		}
	}
	
	public List<Cup> getAllCupList();
	
	public LinkedHashMap<String, String> getAllCupMap();
}
